<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>

<html>
<head>
    <title>角色列表</title>
    <meta name="menu" content="roleManage"/>
</head>

<body>
<div class="content_block">
    <%@ include file="/common/messages.jsp" %>
    <h2 class="jquery_tab_title">角色管理</h2>

    <form action="role.action" method="post" id="mainForm">
        <div>
            <table width="100%" cellpadding="0" id="table_liquid" cellspacing="0">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>授权</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <s:iterator value="allRoleList">
                    <tr>
                        <td>${name}</td>
                        <td><stringDisplay:short length="100" fullText="${authNames}" /></td>
                        <td>
                            <a href="role!input.action?id=${id}" class="edit_icon" title="Edit">修改</a>
                            <a href="role!delete.action?id=${id}" class="delete_link" title="Delete">删除</a>
                        </td>
                    </tr>
                </s:iterator>
                </tbody>
            </table>
             <a href="role!input.action" class="button">增加新角色</a>
        </div>
    </form>
</div>
<!--end content_block-->
</body>
</html>